<?php
$i=1;
foreach($this->products as $data):?>
<div class="products">
    <div class="product"><img src="<?php echo $this->base_url."catalog/".$data['image'];?>"  width="100" height="100"/></div>
    <div class="name-product"><?php echo $data['product_name']; ?></div>
    <div class="cost-product"><?php echo $data['purchase_cost']; ?></div>
</div>
   
    <?php endforeach;?>
